# Description: Ses dosyalarını düzenlemek için gelişmiş bir araç.
# URL: http://web.audacityteam.org/
# Packager: milisarge
# Depends on: libvorbis libmad libid3tag wxgtk28 lame hicolor-icon-theme ffmpeg shared-mime-info desktop-file-utils redland jack soundtouch cmake zip python

name=audacity
version=2.1.1
release=1
source=("https://github.com/audacity/audacity/archive/Audacity-${version}.tar.gz"
        'ffmpeg.patch')
build() {

  cd "${SRC}/${name}-Audacity-${version}"
  patch -p1 -i "${SRC}/ffmpeg.patch"

  WX_CONFIG=/usr/bin/wx-config-2.8 \
  ./configure --prefix=/usr --enable-unicode --with-wx-config=$WX_CONFIG

  make
 
  make DESTDIR="${PKG}" install
}
